//==============================================================================
// barracks_anim.txt
//==============================================================================

import Construction_defines_anim.txt

//==============================================================================
define Dust
{
   set hotspot
   {
      version
      {
         Visualparticle SFX A Building DustA
      }
   }  
}

//==============================================================================
define CypressB
{
   set hotspot
   {
      version
      {
         Visual Terrain G CypressB
      }
   }  
}

//==============================================================================
anim idle
{
   SetSelector
   {
      TechLogic NONE/age 4
SetSelector
      {
         ConstructionLogic 0 33 66
         set hotspot
         {
            version
            {
               Visual building c academy age3
                    ReplaceTexture building c roofage1/building c roofage3
                    ReplaceTexture building c wallsage1/building c wallsage3
            }
         }
         set hotspot
         {
            version
            {
               Visual Building Construction Medium A
		         connect attachpoint E_Long_Brick hotspot
		         connect face E_Long_Brick hotspot
		         connect chin E_Medium_Brick hotspot
		         connect leftfoot E_Medium_Brick hotspot
		         connect lefthand E_Small_Brick hotspot
		         connect leftleg E_Small_Brick hotspot
            }
         }
         set hotspot
         {
            version
            {
               Visual Building Construction Medium B
		         connect attachpoint E_Long_Brick hotspot
		         connect face E_Long_Brick hotspot
		         connect chin E_Medium_Brick hotspot
		         connect leftfoot E_Medium_Brick hotspot
		         connect lefthand E_Small_Brick hotspot
		         connect leftleg E_Small_Brick hotspot
            }
         }
         set hotspot
         {
            version
            {
               Visual Building G ConstructionBarracks
		         connect attachpoint E_Long_Brick hotspot
		         connect face E_Long_Brick hotspot
		         connect chin E_Medium_Brick hotspot
		         connect leftfoot E_Medium_Brick hotspot
		         connect lefthand E_Small_Brick hotspot
		         connect leftleg E_Small_Brick hotspot
            }
         }
      }
      //---------------------------Age 4--------------------------------//
      SetSelector
      {
         ConstructionLogic 0 33 66
         set hotspot
         {
            version
            {
               Visual building c academy age3
                    ReplaceTexture building c roofage1/building c roofage4
                    ReplaceTexture building c wallsage1/building c wallsage4
            }
         }
         set hotspot
         {
            version
            {
               Visual Building Construction Medium A
		         connect attachpoint E_Long_Brick hotspot
		         connect face E_Long_Brick hotspot
		         connect chin E_Medium_Brick hotspot
		         connect leftfoot E_Medium_Brick hotspot
		         connect lefthand E_Small_Brick hotspot
		         connect leftleg E_Small_Brick hotspot
            }
         }
         set hotspot
         {
            version
            {
               Visual Building Construction Medium B
		         connect attachpoint E_Long_Brick hotspot
		         connect face E_Long_Brick hotspot
		         connect chin E_Medium_Brick hotspot
		         connect leftfoot E_Medium_Brick hotspot
		         connect lefthand E_Small_Brick hotspot
		         connect leftleg E_Small_Brick hotspot
            }
         }
         set hotspot
         {
            version
            {
               Visual Building G ConstructionBarracks
		         connect attachpoint E_Long_Brick hotspot
		         connect face E_Long_Brick hotspot
		         connect chin E_Medium_Brick hotspot
		         connect leftfoot E_Medium_Brick hotspot
		         connect lefthand E_Small_Brick hotspot
		         connect leftleg E_Small_Brick hotspot
          
            }
         }
      }
   }
}

//==============================================================================
anim Death
{
   SetSelector
   {
      TechLogic NONE/age 4
SetSelector
      {
         ConstructionLogic 0 33 66
         set hotspot
         {
            version
            {
               Visual building c academy age3
                    ReplaceTexture building c roofage1/building c roofage3
                    ReplaceTexture building c wallsage1/building c wallsage3     
            }
         }
         set hotspot
         {
            version
            {
               Visual Building Construction Medium A
		         connect attachpoint E_Long_Brick hotspot
		         connect face E_Long_Brick hotspot
		         connect chin E_Medium_Brick hotspot
		         connect leftfoot E_Medium_Brick hotspot
		         connect lefthand E_Small_Brick hotspot
		         connect leftleg E_Small_Brick hotspot
            }
         }
         set hotspot
         {
            version
            {
               Visual Building Construction Medium B
		         connect attachpoint E_Long_Brick hotspot
		         connect face E_Long_Brick hotspot
		         connect chin E_Medium_Brick hotspot
		         connect leftfoot E_Medium_Brick hotspot
		         connect lefthand E_Small_Brick hotspot
		         connect leftleg E_Small_Brick hotspot
            }
         }
         set hotspot
         {
            version
            {
               Visual Building G ConstructionBarracks
		         connect attachpoint E_Long_Brick hotspot
		         connect face E_Long_Brick hotspot
		         connect chin E_Medium_Brick hotspot
		         connect leftfoot E_Medium_Brick hotspot
		         connect lefthand E_Small_Brick hotspot
		         connect leftleg E_Small_Brick hotspot
            }
         }
      }
      //---------------------------Age 4--------------------------------//
      SetSelector
      {
         ConstructionLogic 0 33 66
         set hotspot
         {
            version
            {
               Visual building c academy age3
                    ReplaceTexture building c roofage1/building c roofage4
                    ReplaceTexture building c wallsage1/building c wallsage4
            }
         }
         set hotspot
         {
            version
            {
               Visual Building Construction Medium A
		         connect attachpoint E_Long_Brick hotspot
		         connect face E_Long_Brick hotspot
		         connect chin E_Medium_Brick hotspot
		         connect leftfoot E_Medium_Brick hotspot
		         connect lefthand E_Small_Brick hotspot
		         connect leftleg E_Small_Brick hotspot
            }
         }
         set hotspot
         {
            version
            {
               Visual Building Construction Medium B
		         connect attachpoint E_Long_Brick hotspot
		         connect face E_Long_Brick hotspot
		         connect chin E_Medium_Brick hotspot
		         connect leftfoot E_Medium_Brick hotspot
		         connect lefthand E_Small_Brick hotspot
		         connect leftleg E_Small_Brick hotspot
            }
         }
         set hotspot
         {
            version
            {
               Visual Building G ConstructionBarracks
		         connect attachpoint E_Long_Brick hotspot
		         connect face E_Long_Brick hotspot
		         connect chin E_Medium_Brick hotspot
		         connect leftfoot E_Medium_Brick hotspot
		         connect lefthand E_Small_Brick hotspot
		         connect leftleg E_Small_Brick hotspot
          
            }
         }
      }
   }
}